package com.bsj.travel.def.common.VO.device;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

/***
 * @description DeviceExcelVO
 * @author LiJiaXin
 * @version 1.0.0
 * @time 2024/1/17 17:38
 **/
@Data
@ColumnWidth(15)
public class DeviceExcelVO {

    /**
     * 设备号
     */
    @ExcelProperty(value = "设备号", index = 0)
    private String deviceName;

    /**
     * 产品key
     */
    @ExcelProperty(value = "产品KEY", index = 1)
    private String productKey;

    /**
     * 所属产品
     */
    @ExcelProperty(value = "所属产品", index = 2)
    private String productName;

    /**
     * 节点类型 D:直连设备 G:网关设备 S:网关子设备
     */
    @ExcelProperty(value = "节点类型", index = 3)
    private String nodesType;

    /**
     * 设备秘钥
     */
    @ExcelProperty(value = "设备秘钥", index = 4)
    private String deviceSecret;

    /**
     * OTA模块版本号
     */
    @ColumnWidth(18)
    @ExcelProperty(value = "OTA模块版本号", index = 5)
    private String firmwareVersion;

    /**
     * 设备状态 1：未激活 2：在线 3：离线
     */
    @ExcelProperty(value = "设备状态", index = 6)
    private String status;

    /**
     * 激活时间
     */
    @ExcelProperty(value = "激活时间", index = 7)
    private String gmtActive;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间", index = 8)
    private String gmtCreate;

    /**
     * 是否禁用
     */
    @ExcelProperty(value = "是否禁用", index = 9)
    private String isDisable;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注", index = 10)
    private String remark;
}
